import request from '../utils/request';
//根据身份证号查询
export const queryByCerNo = query => {
    return request({
        url: '/api/bicycle/ptInfo/selectByCerNo',
        method:'post',
        // url:'./json/patientone.json',
        // method: 'get',
        params: query
    });
};

//添加患者
export const doAdd = query => {
    return request({
        url: '/api/bicycle/ptInfo/doAdd',
        method:'post',
        // url:'./json/doAdd.json',
        // method: 'get',
        params: query
    });
};
/*查询所有患者信息*/
export const getPatientList = query => {
    return request({
        url: '/api/bicycle/ptInfo/doMain',
        method:'post',
        // url:'./json/patientList.json',
        // method: 'get',
        params: query
    });
};


